temp=/tmp/$RANDOM-$RANDOM.txt

if [ $# != 1 ]; then
	echo "Error! Usage: <lcc trace file>"
	exit 1
fi

FILE=$1

echo "
_=load(\"${FILE}\");
disp(diff(_(:,1)))
" > $temp

octave -q $temp | grep -v "^$";

rm $temp

